package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class BankerProductSpec implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 供应商id
     *
     * @mbg.generated
     */
    private Integer bankerId;

    /**
     * 供应商商品id
     *
     * @mbg.generated
     */
    private Integer productId;

    /**
     * sku规格json
     *
     * @mbg.generated
     */
    private String skuSpec;

    /**
     * 成本价格
     *
     * @mbg.generated
     */
    private BigDecimal price;

    /**
     * 建议购买价
     *
     * @mbg.generated
     */
    private BigDecimal salePrice;

    /**
     * 商品图
     *
     * @mbg.generated
     */
    private String proImg;

    /**
     * 库存
     *
     * @mbg.generated
     */
    private Integer stock;

    /**
     * 状态 0下架 1 上架
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 原价
     *
     * @mbg.generated
     */
    private BigDecimal originalPrice;

    /**
     * 供应商外部sku-id
     */
    private String threeSkuId;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBankerId() {
        return bankerId;
    }

    public void setBankerId(Integer bankerId) {
        this.bankerId = bankerId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getSkuSpec() {
        return skuSpec;
    }

    public void setSkuSpec(String skuSpec) {
        this.skuSpec = skuSpec;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public String getProImg() {
        return proImg;
    }

    public void setProImg(String proImg) {
        this.proImg = proImg;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getThreeSkuId() {
        return threeSkuId;
    }

    public void setThreeSkuId(String threeSkuId) {
        this.threeSkuId = threeSkuId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", bankerId=").append(bankerId);
        sb.append(", productId=").append(productId);
        sb.append(", skuSpec=").append(skuSpec);
        sb.append(", price=").append(price);
        sb.append(", salePrice=").append(salePrice);
        sb.append(", proImg=").append(proImg);
        sb.append(", stock=").append(stock);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", originalPrice=").append(originalPrice);
        sb.append(", threeSkuId=").append(threeSkuId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}